<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>无标题页</title>
<link rel="stylesheet" type="text/css" href="../Admin/role/css/index.css">
<script type="text/javascript"
	src="../Admin/role/js/jquery-1.7.1.min.js"></script>
<script type="text/javascript">    
　　　　function cancel() {  
	      window.location.href = 'selectAllComplexLiu.action';
}
</script>
</head>
<body class="mian_bj">
<div class="mian_top_01">
<div class="mian_top_r"></div>
<div class="mian_top_l"></div>
<div class="mian_top_c">
</div>
<form action="addComplexConfirmLiu.action" method="post">
<div class="mian_b">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="mian_b_bg_xz">
<tr>
<td width="5%" class="mian_b_bg_lm">&nbsp;</td>
<td colspan="3" class="mian_b_bg_lm">添加楼栋信息</td>
</tr>
<tr>
<td>&nbsp;</td>
<td width="7%" valign="top">所属项目：</td>
<td width="60%">
  <select  id="projectid" name="projectid" class="input_01">
          <option value="">----------请选择所属项目--------</option>
          <c:forEach var="project" items="${projects}">
              <option value="${project.id }">${project.name}</option>
          </c:forEach>
 </select>
</td>
<td width="25%">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td width="7%" valign="top">楼栋编号：</td>
<td width="60%">
<input type="text" class="input_01" name="cnumber" id="cnumber" value="${complex.cnumber }"> </td>
<td width="25%">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td valign="top">楼层数：</td>
<td>
<input type="text" class="input_01" name="storey" id="storey" value="${complex.storey }"></td>
<td>&nbsp;</td>
</tr>
<!-- <tr>
<td>&nbsp;</td>
<td valign="top">部门简称：</td>
<td>
<input type="text" class="input_01" name="textfield" id="textfield"></td>
<td>&nbsp;</td>
</tr> -->
<tr>
<td>&nbsp;</td>

<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>
<div align="center">
<input type="submit"  value="确认"  >
<input type="button"  value="取消" onclick="cancel()" >
<td>&nbsp;</td>
</tr>
</table>
</div>
</form>
</div>
</body>
<script type="text/javascript">
	var aaa=${complex.projectid}
	$("#projectid  option:eq("+aaa+")").attr("selected","selected");
</script>
</html>